package fire.object;

import fire.Main;
import fire.room.FactoryMap;

public class Map1_Map3 extends TerrainPortal {

	public Map1_Map3(double x, double y) {
		super("map3", x, y);
		name = "map3";
	}
	public void move() {
		if (checkCollision(9999, 0, 0) == 9999) {
			Main.changeMap(FactoryMap.mapList.get(this.name));
		}
	}
}
